package com.shell.governor.audit.remote.controller;

import com.shell.bee.mvc.controller.BaseController;
import com.shell.bee.persistence.model.PageLimit;
import com.shell.governor.audit.po.PubRemote;
import com.shell.governor.audit.remote.service.PubRemoteService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PubRemoteController extends BaseController {
	@Autowired
	private PubRemoteService pubRemoteService;

	@RequestMapping
	public List<PubRemote> remoteRecordList(PageLimit limit, String sTime, String eTime) {
		return this.pubRemoteService.queryList(limit, sTime, eTime);
	}
}
